<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
		<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
		<jsp:include page="head.html"/>
	</head>
	<body>
		<h1>URLAUBSVERWALTUNG</h1><hr></hr>
		<jsp:include page="menu.html"/>
		<div id="inhalt">
			<h2><c:out value="${title}"/></h2>
			<p><c:out value="${message}"/></p>
			<fieldset style="width:425px">
				<table class="listing">
					<colgroup>
						<col class="buttoncell"/>
						<col class="buttoncell"/>
						<col/>
						<col/>
					</colgroup>
					<tbody>
						<tr>
							<td></td>
							<td></td>
							<td align="center"><b>Abwesenheitsart</b></td>
							<td align="center"><b>Abwesenheitsfarbe</b></td>
						</tr>
						<c:forEach items="${alleabwesenheitsarten}" var="abwesenheit">
							<tr>
								<td align="right">
									<a href="LoescheAbwesenheitsart.s?id=<c:out value="${abwesenheit.id}"/>">
										<img src="images/button_delete.png" alt="Icon - Loesche Abwesenheitsart"/>
									</a>
								</td>								
								<td align="right"> 
									<a href="EditAbwesenheitsart.s?id=<c:out value="${abwesenheit.id}"/>">
										<img src="images/button_edit.png" alt="Icon - Aendere Abwesenheitsart"/>
									</a>
								</td>
								<td align="center">
									<a href="EditAbwesenheitsart.s?id=<c:out value="${abwesenheit.id}"/>">
										<c:out value="${abwesenheit.abwesenheitsart}"/>
									</a>
								</td>
								<td align="center">
									<a href="EditAbwesenheitsart.s?id=<c:out value="${abwesenheit.id}"/>">
										<c:out value="${abwesenheit.abwesenheitsfarbe}"/>
									</a>
								</td>
							</tr>
						</c:forEach> 
					</tbody>
				</table>
			</fieldset>
		</div>
		<jsp:include page="menurechts.html"/>
	</body>
</html> 